//
//  CommentViewController.h
//  CYWFrame
//
//  Created by Macx on 2017/8/9.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <iflyMSC/iflyMSC.h>
@class IFlyDataUploader;
@class IFlySpeechRecognizer;
@class IFlyPcmRecorder;

@interface CommentViewController : UIViewController <IFlySpeechRecognizerDelegate,IFlyRecognizerViewDelegate,UIActionSheetDelegate,IFlyPcmRecorderDelegate>

@property (nonatomic, strong) NSString *postId;
@property (nonatomic, strong) NSString *pid;

@property (nonatomic, strong) NSString *atName;

@property (nonatomic, assign) NSInteger type; // 2 是文章 3 是问答


// 讯飞
@property (nonatomic, strong) IFlySpeechRecognizer *iFlySpeechRecognizer;//Recognition conrol without view
@property (nonatomic, strong) IFlyRecognizerView *iflyRecognizerView;//Recognition control with view
//@property (nonatomic, strong) IFlyDataUploader *uploader;//upload control
//@property (nonatomic, strong) PopupView *popUpView;


@property (nonatomic, strong) NSString * result;
@property (nonatomic, assign) BOOL isCanceled;

@property (nonatomic,strong) IFlyPcmRecorder *pcmRecorder;//PCM Recorder to be used to demonstrate Audio Stream Recognition.
@property (nonatomic,assign) BOOL isStreamRec;//Whether or not it is Audio Stream function
//@property (nonatomic,assign) BOOL isBeginOfSpeech;//Whether or not SDK has invoke the delegate methods of beginOfSpeech.



@end
